<template>
  <div id="app">
    <keep-alive exclude="detail">
<!--      exclude="detail"将某个组件的保持活跃属性清除-->
    <router-view></router-view>
    </keep-alive>
<main-tab-bar class="main-tab-bar"></main-tab-bar>
  </div>
</template>
<script>
  import MainTabBar from 'components/content/maintabbar/MainTabBar'

  export default {
    name: 'app',
    components:{
      MainTabBar
    }
  }
</script>

<style>
@import "./assets/css/base.css";

  .main-tab-bar{
    z-index: 9;
    /*position: sticky;*/
    /*top: 510px;*/
    position: relative;
  }
</style>
